/**
 * Created by CodeTlan.
 * User: Ing. Miguel Salas
 * Date: 3/11/12
 * Time: 4:12 AM
 */
Ext.define('CT.view.departamento.Window',{
    extend:'Ctc.view.Window',
    alias:'widget.windepartamentos',
    title:'Administrar departamentos',
    buildItems:function(){
        return [
            {
                xtype: 'griddepartamento',
                region: 'center',
                flex: 3
            },{
                xtype: 'formdepartamento',
                flex: 1,
                region: 'east',
                collapsible: true,
                collapseDirection: 'left',
                title: 'Agregar',
                iconCls: 'add'
            }

        ];
    },
    renderTo:'containerprincipal'
});